/* Stilizare generală */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #be0709;
    color: white;
    padding: 20px;
    text-align: center;
}

.header-logo {
    max-width: 80px;
    margin-bottom: 10px;
}

.header-titlu {
    font-size: 24px;
    margin: 10px 0;
    text-transform: uppercase;
}

/* Navigație */
#nav-bar {
    background-color: #333;
    margin-bottom: 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list li a {
    color: #f6f6f6;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    font-size: 18px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.nav-list li a:hover {
    background-color: #be0709;
    color: #fff;
}

.nav-list a:hover {
    background-color: #be0709; /* Fundal roșu la hover */
    color: #fff; /* Text alb pentru contrast */
}

.nav-list a:active {
    background-color: #900506; /* Fundal mai închis când este apăsat */
    color: #fff;
}


/* Container evenimente */
.eveniment-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Titlul evenimentului */
.eveniment-titlu h3 {
    font-size: 28px;
    text-align: center;
    color: #be0709;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #be0709;
    padding-bottom: 10px;
}

/* Textul evenimentului */
.eveniment-text {
    text-align: center;
    margin-bottom: 40px;
}

.eveniment-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #555;
}

.eveniment-text p strong {
    color: #be0709;
    font-weight: bold;
}

/* Imagini eveniment */
.eveniment-poze {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.eveniment-poze img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eveniment-poze img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Spațiu între secțiuni */
.eveniment-container > div {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .eveniment-titlu h3 {
        font-size: 22px;
    }

    .eveniment-text p {
        font-size: 14px;
    }

    .eveniment-poze img {
        height: 120px;
    }
}

/*light box section */
/* Lightbox */
.lightbox {
    display: none; /* Ascuns implicit */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fundal semi-transparent */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Deasupra altor elemente */
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.lightbox img:hover {
    transform: scale(1.05); /* Efect de mărire la hover */
}

/* Închide lightbox-ul când faci click pe fundal */
.lightbox:target {
    display: flex;
}


/* Subtitlurile activităților */
.activitate-subtitlu a {
    color: #be0709;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.activitate-subtitlu a:hover {
    color: #900506; /* Schimbă culoarea pe hover */
}

/* Linkurile din footer */
.footer-link {
    color: #be0709;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #900506;
}

/* Stil general pentru link-uri */
a {
    text-decoration: none; /* Elimină sublinierea implicită */
    color: #be0709; /* Culoarea de bază */
    font-weight: bold;
    transition: color 0.3s ease; /* Efect de tranziție pentru schimbarea culorii */
}

a:hover {
    color: #900506; /* Culoare mai închisă la hover */
}

a:active {
    color: #700404; /* Culoare și mai închisă când este apăsat */
}

a:visited {
    color: #be0709; /* Culoarea linkurilor vizitate */
}